package com.sqx.modules.creation.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
public class CreationGoodDto {

    /**
     * 类型：1评论2回复3作品点赞
     */
    @NotBlank(message = "类型不能为空")
    private Integer type;
    /**
     * 评论id
     */
    @TableField("comment_id")
    private Integer commentId;

    /**
     * 回复id
     */
    @TableField("reply_id")
    private Integer replyId;
    /**
     * 作品id
     */
    private Integer creationId;

}
